import Index from "@/components/Index.vue";
import Article from "@/components/Article.vue";
import {createRouter, createWebHashHistory, createWebHistory} from "vue-router";

const routes = [
    {
        path:"/",
        name:"首页",
        component:Index
    },
    {
        path:"/article",
        component:Article
    }
]
const router = createRouter({
    history:createWebHashHistory(),
    routes
})

export default router
